﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;


namespace GXImageTools
{
    public class ImageToolsGXX
    {
        public  void Crop(string OriginalPath, string NewPath, int x, int y, int width, int height)
        {
             ImageTools.Crop(OriginalPath, NewPath, x, y, width, height);
        }

        public void Resize(string OriginalPath, string NewPath, int destWidth, int destHeight)
        {
            ImageTools.Resize(OriginalPath, NewPath, destWidth, destHeight);
        }

        public void  Rotate(string OriginalPath, string NewPath)
        {
            ImageTools.Rotate(OriginalPath, NewPath);
        }

        public  void RotateByAngle(string OriginalPath, string NewPath, float angle)
        {
            ImageTools.RotateByAngle(OriginalPath, NewPath, angle);
        }

        public  void GenerateFromText(string OutputPath, string Text, string FontName, int Size)
        {
            ImageTools.GenerateFromText(OutputPath, Text, FontName, Size);
        }

        public void ChangeFormat(string OriginalPath, string NewPath, int Quality, string ImageFormat)
        {
            ImageTools.ChangeFormat(OriginalPath, NewPath, Quality, ImageFormat);
        }

        public void GenerateThumbnail(string OriginalPath, string NewPath, int destHeight, int destWidth, int Color)
        {
            ImageTools.GenerateThumbnail(OriginalPath, NewPath, destHeight, destWidth, Color);
        }

        public void GetSize(string Path, int Width, int Height)
        {
            ImageTools.GetSize(Path, Width, Height);
        }

        public void Combine(List<string> files, string NewPath)
        {
            ImageTools.Combine(files, NewPath);
        }

        public List<string> GetProperties(string Path)
        {
            return ImageTools.GetProperties(Path);
        }

   
    }
}
